package com.blogSystem.article.dao;


import com.blogSystem.article.pojo.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper {
    int insert(Category category);
    int deleteById(String id);
    int deleteByIds(List<String> list);
    List<Category> selectAll();
    Category selectById(String id);
    Category selectByType(String type);


}
